package com.lin.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


//搜索表
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Search implements Serializable {
    //搜索id
    private Integer id;
    //搜索内容
    private String text;
    //用户id
    private Integer userId;
    //搜索时间
    private LocalDateTime time;
}
